package blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Set;

@Data
@TableName("role")
public class Role {

    @TableId(type = IdType.AUTO, value = "id")
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("tag")
    private String tag;

    @TableField("isuse")
    private Integer isuse;
}
